﻿###########################
#Congo Crisis Events
###########################
#By IratePirate
###########################

add_namespace = kongocrisis

country_event = {#Army Mutiny in Kasai
	id = kongocrisis.1
	title = kongocrisis.1.t
	desc = kongocrisis.1.d
	picture = GFX_report_event_COG_force_publique_marching_to_war
	is_triggered_only = yes
	timeout_days = 3

	immediate = {
		hidden_effect = {
			if = {
				limit = {
					OR = {
						COG = {
							is_ai = no
						}
						MAF = {
							is_ai = no
						}
					}
				}
				KAS = {
					load_oob = KAS_AFR
				}
			}
		}
		hidden_effect = {
			if = {
				limit = {
					KAS = {
						is_ai = no
					}
				}
				COG = {
					load_oob = COG_Askari
				}
			}
		}
	}
	option = {
		name = kongocrisis.1.a
		add_stability = -0.02
		add_political_power = -20
		ai_chance = { factor = 100 }
		if = {
			limit = {
				tag = COG
				}
		hidden_effect = {
			country_event = {
				id = kongocrisis.2
				days = 15 random_days = 3
				}
			}
		}
	}
}
country_event = {#Declare secession in Kasai
	id = kongocrisis.2
	title = kongocrisis.2.t
	desc = kongocrisis.2.d
	picture = GFX_report_event_rural
	is_triggered_only = yes
	timeout_days = 3
	option = {
		name = kongocrisis.2.a
		ai_chance = { factor = 100 }
		add_stability = -0.03
		hidden_effect = {
			country_event = {
				id = kongocrisis.3
				days = 15 random_days = 3
			}
		}
	}
}

country_event = {#Kitawalist rebels take South Ubangi and cut telegraph line to Bangui
	id = kongocrisis.3
	title = kongocrisis.3.t
	desc = kongocrisis.3.d
	picture = GFX_report_event_railway
	is_triggered_only = yes
	timeout_days = 3
	option = {
		name = kongocrisis.3.a
		ai_chance = { factor = 100 }
		hidden_effect = {
			country_event = {
				id = kongocrisis.4
				days = 15 random_days = 3
			}
		}
		add_political_power = -20
		custom_effect_tooltip = kongocrisis.3.tt
	}
}

country_event = {#Kasai rebels criticise us on the air
	id = kongocrisis.4
	title = kongocrisis.4.t
	desc = kongocrisis.4.d
	picture = GFX_report_event_MAF_askari2
	is_triggered_only = yes
	timeout_days = 3
	option = {
		name = kongocrisis.4.a
		ai_chance = { factor = 100 }
		add_named_threat = {
			threat = 1
			name = congocrisis_wt
		}
		if = {
			limit = {
				tag = COG
				NOT = {
					has_war_with = KAS
				}
			}
			COG = {
				declare_war_on = {
					target = KAS
					type = annex_everything
				}
			}
			hidden_effect = {
				KAS = {
					country_event = {
						id = kongocrisis.69
						days = 240
					}
				}
			}
			KTG = {
				country_event = {#Katanga intervene against Kasai?
					id = congo.8
					days = 6
				}
			}
		add_stability = -0.02
		hidden_effect = {
			MAF = {
				country_event = kongocrisis.4
			}
		}
		hidden_effect = {
		KAS = {
			transfer_state = 1185
			load_oob = KAS_UPR
		}
		set_global_flag = congo_bush_war
			news_event = {
				id = sharedafrika.15
				days = 1
			}
			country_event = {
				id = kongocrisis.5
				days = 2 random_days = 3
			}
			KEN = {
			country_event = {
				id = kenia.123
				days = 4 random_days = 2
				}
			}
			UGA = {
			country_event = {
				id = kenia.126
				days = 4 random_days = 2
				}
			}
			MLW = {
			country_event = {
				id = kenia.127
				days = 4 random_days = 2
				}
			}
			BSC = {
			country_event = {
				id = kenia.128
				days = 4 random_days = 2
				}
			}
			CEA = {
			country_event = {
				id = kenia.129
				days = 4 random_days = 2
				}
			}
			KOG = {
			country_event = {
				id = kenia.130
				days = 4 random_days = 2
				}
			}
			CMR = {
			country_event = {
				id = kenia.131
				days = 4 random_days = 2
				}
			}
			NGR = {
			country_event = {
				id = kenia.132
				days = 4 random_days = 2
				}
			}
			CIV = {
			country_event = {
				id = kenia.133
				days = 4 random_days = 2
				}
			}
			
			GHA = {
			country_event = {
				id = kenia.134
				days = 4 random_days = 2
				}
			}
			IVO = {
			country_event = {
				id = kenia.135
				days = 4 random_days = 2
				}
			}
			GER = {
			country_event = {
				id = kenia.124
				days = 4 random_days = 2
				}
			}
			CAN = {
			country_event = {
				id = kenia.124
				days = 4 random_days = 2
				}
			}
			POR = {
			country_event = {
				id = kenia.124
				days = 4 random_days = 2
				}
			}
			NFA = {
			country_event = {
				id = kenia.124
				days = 4 random_days = 2
				}
			}
			EGY = {
			country_event = {
				id = kenia.124
				days = 4 random_days = 2
				}
			}
			SPR = {
			country_event = {
				id = kenia.124
				days = 4 random_days = 2
				}
			}
			PAF = {
			country_event = {
				id = kenia.125
				days = 4 random_days = 2
				}
			}
			SIE = {
			country_event = {
				id = kenia.125
				days = 4 random_days = 2
				}
			}
			SUD = {
			country_event = {
				id = kenia.125
				days = 4 random_days = 2
				}
			}
			SFA = {
			country_event = {
				id = kenia.125
				days = 4 random_days = 2
				}
			}
			MAG = {
			country_event = {
				id = kenia.125
				days = 4 random_days = 2
				}
			}
			ETH = {
			country_event = {
				id = kenia.125
				days = 4 random_days = 2
				}
			}
			SOM = {
			country_event = {
				id = kenia.125
				days = 4 random_days = 2
				}
			}
			DJI = {
			country_event = {
				id = kenia.125
				days = 4 random_days = 2
				}
			}
			MOR = {
			country_event = {
				id = kenia.125
				days = 4 random_days = 2
				}
			}
			ZZB = {
			country_event = {
				id = kenia.125
				days = 4 random_days = 2
				}
			}
			SAF = {
			country_event = {
				id = kenia.125
				days = 4 random_days = 2
				}
			}
			ZIM = {
			country_event = {
				id = kenia.125
				days = 4 random_days = 2
				}
			}
			ZAM = {
			country_event = {
				id = kenia.125
				days = 4 random_days = 2
				}
			}
			NMB = {
			country_event = {
				id = kenia.125
				days = 4 random_days = 2
				}
			}
		}
		custom_effect_tooltip = kongocrisis.2.tt
		}
		add_political_power = -5
	}
	option = {
		name = kongocrisis.4.b
		trigger = {
			tag = MAF
		}
		add_to_war = {
			targeted_alliance = COG
			enemy = KAS
		}
		add_war_support = 0.02
		add_political_power = -20
		ai_chance = {
			factor = 0
		}
	}
}

country_event = {#District offices attacked
	id = kongocrisis.5
	title = kongocrisis.5.t
	desc = kongocrisis.5.d
	picture = GFX_report_event_steamship
	is_triggered_only = yes
	timeout_days = 3
	option = {
		name = kongocrisis.5.a
		ai_chance = { factor = 100 }
		add_stability = -0.02
		hidden_effect = {
			country_event = {
				id = kongocrisis.6
				days = 1 random_days = 2
			}
			country_event = {
				id = kongocrisis.7
				days = 2 random_days = 2
			}
		}
	}
}

country_event = {#Mutiny breaks out near Kinshasha
	id = kongocrisis.6
	title = kongocrisis.6.t
	desc = kongocrisis.6.d
	picture = GFX_report_event_LPD_leopoldville
	is_triggered_only = yes
	timeout_days = 3
	option = {
		name = kongocrisis.6.a
		ai_chance = { factor = 100 }
		if = {
			limit = {
				tag = COG
			}
		hidden_effect = {
			MAF = {
				country_event = kongocrisis.6
			}
		}
		hidden_effect = {
			country_event = {
				id = kongocrisis.8
				days = 7 random_days = 2
				}
			}
		}
		if = {
			limit = {
				tag = MAF
			}
		add_stability = -0.01
		}
	}
}

country_event = {#Lose contact with district offices upstream
	id = kongocrisis.7
	title = kongocrisis.7.t
	desc = kongocrisis.7.d
	picture = GFX_report_event_MAF_officers
	is_triggered_only = yes
	timeout_days = 3
	option = {
		add_stability = -0.02
		name = kongocrisis.7.a
		ai_chance = { factor = 100 }
	}
}

country_event = {#Kitawalists Launch Attacks in Haut-Kongo
	id = kongocrisis.8
	title = kongocrisis.8.t
	desc = kongocrisis.8.d
	picture = GFX_report_event_MAF_railroad
	is_triggered_only = yes
	timeout_days = 3
	option = {
		name = kongocrisis.8.a
		ai_chance = { factor = 100 }
		add_political_power = -20
		hidden_effect = {
			country_event = {
				id = kongocrisis.9
				days = 2
			}
			country_event = {
				id = kongocrisis.10
				days = 4
			}
			KOG = {
				country_event = {
					id = kongocrisis.64
					days = 4
				}
			}
		}
		custom_effect_tooltip = kongocrisis.8.tt
	}
}

country_event = {#Mutineers seize the ports
	id = kongocrisis.9
	title = kongocrisis.9.t
	desc = kongocrisis.9.d
	picture = GFX_report_event_peaceout
	is_triggered_only = yes
	timeout_days = 3
	option = {
		name = kongocrisis.9.a
		ai_chance = { factor = 100 }
		if = {
			limit = {
				tag = COG
			}
		add_political_power = -20
		881 = {
			set_demilitarized_zone = yes
		}
		hidden_effect = {
			country_event = {
				id = kongocrisis.15
				days = 3 random_days = 2
			}
		}
		hidden_effect = {
			MAF = {
				country_event = kongocrisis.9
			}
		}
	}
	custom_effect_tooltip = kongocrisis.9.tt
	}
}
country_event = {#Pedro's Bakongo militias attack Bas-Kongo mutineers
	id = kongocrisis.10
	title = kongocrisis.10.t
	desc = kongocrisis.10.d
	picture = GFX_report_event_haase
	is_triggered_only = yes
	timeout_days = 3
	immediate = {
	hidden_effect = {
		KOG = {
			country_event = kongocrisis.64
			}
		}
	}
	option = {
		name = kongocrisis.10.a
		ai_chance = { factor = 100 }
		hidden_effect = {
			country_event = {
				id = kongocrisis.11
				days = 2
			}
			KOG = {
				country_event = {
					id = kongocrisis.65
					days = 2
				}
			}
		}
	}
}

country_event = {#Teke Tribals Launch Rebellion
	id = kongocrisis.11
	title = kongocrisis.11.t
	desc = kongocrisis.11.d
	picture = GFX_report_event_streets4
	is_triggered_only = yes
	timeout_days = 3
	option = {
		name = kongocrisis.11.a
		ai_chance = { factor = 100 }
		hidden_effect = {
			country_event = {
				id = kongocrisis.12
				days = 1 random_days = 2
			}
			country_event = {
				id = kongocrisis.13
				days = 2 random_days = 2
			}
		}
		custom_effect_tooltip = kongocrisis.11.tt
	}

	option = {
		name = kongocrisis.11.b
		ai_chance = {
			factor = 0
		}
		TKE = {
			change_tag_from = COG
		}
		hidden_effect = {
			country_event = {
				id = kongocrisis.12
				days = 1 random_days = 2
			}
			country_event = {
				id = kongocrisis.13
				days = 3 random_days = 2
			}
		}
		custom_effect_tooltip = kongocrisis.11.tt
	}
}


country_event = {#Grant Pedro emergency powers in the west
	id = kongocrisis.12
	title = kongocrisis.12.t
	desc = kongocrisis.12.d
	picture = GFX_report_event_peaceout
	is_triggered_only = yes
	timeout_days = 3
	immediate = {	
		hidden_effect = {
			KOG = {
			country_event = {
				id = kongocrisis.13
				days = 5 random_days = 2
				}
			}
			KOG = {
			country_event = {
				id = kongocrisis.66
				days = 1 random_days = 2
				}
			}
		}
	}
	option = {
		name = kongocrisis.12.a
		ai_chance = { factor = 100 }
		add_political_power = -10
	}
}

country_event = {#Pedro of Mittelkongo attacks Tekeland
	id = kongocrisis.13
	title = kongocrisis.13.t
	desc = kongocrisis.13.d
	picture = GFX_report_event_askari
	is_triggered_only = yes
	timeout_days = 3
	immediate = {
		hidden_effect = {
			if = {
				limit = {
					tag = KOG
					NOT = {
						has_war_with = TKE
					}
				}
				KOG = {
					declare_war_on = {
						target = TKE
						type = annex_everything
					}
				}
			}
			TKE = {
				country_event = {
					id = kongocrisis.14
					days = 1 random_days = 2
				}
			}
		}
	}
	option = {
		name = kongocrisis.13.a
		ai_chance = { factor = 100 }
		add_stability = 0.01
	}
}

country_event = {#Teke perspective, attacked!
	id = kongocrisis.14
	title = kongocrisis.14.t
	desc = kongocrisis.14.d
	picture = GFX_report_event_TKE_brazzaville
	is_triggered_only = yes
	timeout_days = 3
	option = {
		name = kongocrisis.14.a
		ai_chance = { factor = 100 }
		add_war_support = 0.02
		if = {
			limit = {
				KOG = {
					NOT = {
						has_war_with = TKE
					}
				}
			}
			KOG = {
				declare_war_on = {
					target = TKE
					type = annex_everything
				}
			}
		}
	}
}

country_event = {#Mutineers flee after attack fails
	id = kongocrisis.15
	title = kongocrisis.15.t
	desc = kongocrisis.15.d
	picture = GFX_report_event_port_river
	is_triggered_only = yes
	timeout_days = 3
	immediate = {
		hidden_effect = {
			country_event = {
				id = kongocrisis.16
				days = 1 random_days = 2
			}
		}
	}
	option = {
		name = kongocrisis.15.a
		ai_chance = { factor = 100 }
		add_political_power = 10
	}
}

country_event = {#Welle breaks away under Kilambists
	id = kongocrisis.16
	title = kongocrisis.16.t
	desc = kongocrisis.16.d
	picture = GFX_report_event_rural
	is_triggered_only = yes
	timeout_days = 3
	immediate = {
		hidden_effect = {
			country_event = {
				id = kongocrisis.17
				days = 2 random_days = 2
			}
			KOG = {
				country_event = {
					id = kongocrisis.67
					days = 2 random_days = 2
				}
			}
			country_event = {
				id = kongocrisis.20
				days = 3 random_days = 2
			}
			if = {
				limit = {
					OR = {
						COG = {
							is_ai = no
						}
						MAF = {
							is_ai = no
						}
					}
				}
				ORT = {
					load_oob = ORT_AFR
				}
			}
			if = {
				limit = {
					COG = { owns_state = 718 } #give Welle to AI if player is COG/MAF
					OR = {
						COG = {
							is_ai = no
						}
						MAF = {
							is_ai = no
						}
					}
				}
			ORT = {
				transfer_state = 718
			}
		}
		hidden_effect = {
			if = {
				limit = {
					ORT = {
						is_ai = no
					}
				}
				COG = {
					load_oob = COG_Askari
				}
			}
		}
	}
}
	option = {
		name = kongocrisis.16.a
		ai_chance = { factor = 100 }
		add_political_power = -5
		custom_effect_tooltip = kongocrisis.16.tt
	}
}

country_event = {#Pedro's troops retake the coast
	id = kongocrisis.17
	title = kongocrisis.17.t
	desc = kongocrisis.17.d
	picture = GFX_report_event_KOG_manikongo_1
	is_triggered_only = yes
	timeout_days = 3
	immediate = {
		hidden_effect = {
			KOG = {
			country_event = {
				id = kongocrisis.18 #kindly stand levies down
				days = 3 random_days = 2
				}
			}
		}
	}

	option = {
		name = kongocrisis.17.a
		ai_chance = { factor = 100 }
		881 = {
			set_demilitarized_zone = no
		}
		add_stability = 0.01
		custom_effect_tooltip = kongocrisis.17.tt
	}
}

country_event = {#Pedro refuses to stand levies down
	id = kongocrisis.18
	title = kongocrisis.18.t
	desc = kongocrisis.18.d
	picture = GFX_report_event_pedro
	is_triggered_only = yes
	timeout_days = 3
	option = {
		name = kongocrisis.18.a #Pedro revolts
		ai_chance = { factor = 100 }
		hidden_effect = {
		POR = {
			country_event = {
				id = kongocrisis.68
				days = 2
			}
		}
		PAF = {
			country_event = {
				id = kongocrisis.68
				days = 2
			}
		}
		COG = {
			country_event = {
				id = kongokang.22 #Haase helped to Leopoldville by boat
				days = 3
				}
			}
			MAF = {
				country_event = {
					id = kongokang.22
					days = 3
				}
			}
			KOG = {
				country_event = {
					id = kongokang.22 
					days = 3
				}
			}
			PAF = {
				country_event = {
					id = kongokang.22 
					days = 3
				}
			}
			POR = {
				country_event = {
					id = kongokang.22 
					days = 3
				}
			}
		}	
		hidden_effect = {	
		COG = {
			country_event = {
				id = kongocrisis.19 #Damn you
				days = 1
			}
		}
		MAF = {
			country_event = {
				id = kongocrisis.19 #Damn you
				days = 1
			}
		}
		}
		MAF = {
				set_autonomy = {
				target = KOG
				autonomous_state = autonomy_free
			}
		}
		GER = {
			remove_from_faction = KOG
		}
		retire_country_leader = yes
		delete_unit_template_and_units = {
			division_template = "Mittelafrikanische Division"
			disband = yes
		}
			drop_cosmetic_tag = yes
			set_party_name = {
				ideology = paternal_autocrat 
				long_name = KOG_paternal_autocrat_party_long_pedro 
				name = KOG_paternal_autocrat_party_pedro 
			}
			set_party_name = {
				ideology = authoritarian_democrat 
				long_name = KOG_authoritarian_democrat_party_long_pedro 
				name = KOG_authoritarian_democrat_party_pedro 
			}
			set_party_name = {
				ideology = social_conservative 
				long_name = KOG_social_conservative_party_long_pedro 
				name = KOG_social_conservative_party_pedro 
			}
		set_cosmetic_tag = KOG_KON
		add_ideas = {
			KOG_reliance_on_portugal_idea
			KOG_claims_of_greatness_idea
		}
		remove_ideas = {
			KOG_the_figurehead_idea
		}
		add_war_support = 0.05
		set_politics = {
			ruling_party = paternal_autocrat
			last_election = "1918.11.9"
			election_frequency = 48
			elections_allowed = no
		}
		create_country_leader = {
			name = "Pedro VII"
			desc = "POLITICS_PEDRO_KONGO_DESC"
			picture = "gfx/leaders/KOG/Portrait_Kongo_Pedro_VII_Afonso.png"
			expire = "1.1.1"
			ideology = pataut_tribal_chiefdom_subtype
		}
		create_corps_commander = {
			name = "Tulante Álvaro Buta"
			portrait_path = "gfx/leaders/KOG/Portrait_Kongo_Tulante_Alvaro_Buta.png"
			traits = { commando }
			skill = 2
			attack_skill = 1
			defense_skill = 2
			planning_skill = 2
			logistics_skill = 3
		}
		create_corps_commander = {
			name = "Salomon Dialungana Kiangani"
			portrait_path = "gfx/leaders/COG/Portrait_Congo_Salomon_Kimbangu.png"
			traits = {
				politically_connected
			}
			skill = 1
			attack_skill = 1
			defense_skill = 1
			planning_skill = 1
			logistics_skill = 1
			id = 3350
		}
		create_corps_commander = {
			name = "Joseph Diangienda"
			portrait_path = "gfx/leaders/COG/Portrait_Congo_Joseph_Diangienda.png"
			traits = {
				politically_connected
			}
			skill = 1
			attack_skill = 1
			defense_skill = 1
			planning_skill = 1
			logistics_skill = 1
			id = 3351
		}
		create_corps_commander = {
			name = "Charles Daniel Kisolokele"
			portrait_path = "gfx/leaders/COG/Portrait_Congo_Charles_Daniel_Kisolokele.png"
			traits = {
				politically_connected
			}
			skill = 1
			attack_skill = 1
			defense_skill = 1
			planning_skill = 1
			logistics_skill = 1
			id = 3352
		}
		create_corps_commander = {
			name = "Simon-Pierre Mpadi"
			portrait_path = "gfx/leaders/COG/Portrait_Congo_Simon_Pierre_Mpadi.png"
			traits = {
				politically_connected
			}
			skill = 1
			attack_skill = 1
			defense_skill = 1
			planning_skill = 1
			logistics_skill = 1
			id = 3353
		}
		every_unit_leader = {
			limit = {
				OR = {
					has_id = 87959 #Hans Schomburgk
					has_id = 87953 #Adolf Heusinger
					has_id = 87948 #Wolfgang Schenck
				}
			}
			set_nationality = MAF
		}
	}
	option = {#Pedro is reined in
		name = kongocrisis.18.b
		ai_chance = {
			factor = 50
		}
		KOG = {
			add_stability = 0.02
		}
		hidden_effect = {
		COG = {
			country_event = {
				id = kongocrisis.51 #Thanks bro
				days = 2 random_days = 2
				}
			}
		KOG = {
			country_event = {
				id = kongocrisis.51 #Thanks bro
				days = 2 random_days = 2
				}
			}
		MAF = {		
			country_event = {
				id = kongocrisis.51 #Thanks bro
				days = 2 random_days = 2
				}
			}
		}
		hidden_effect = {
		COG = {
			country_event = {
				id = kongokang.21 #Haase recovers
				days = 27 random_days = 2
				}
			}
			MAF = {
				country_event = {
					id = kongokang.21 #Haase recovers
					days = 27 random_days = 2
				}
			}
			KOG = {
				country_event = {
					id = kongokang.21 #Haase recovers
					days = 27 random_days = 2
				}
			}
		}	
	}
}

country_event = {#Mittelkongo refused Congo
	id = kongocrisis.19
	title = kongocrisis.19.t
	desc = kongocrisis.19.d
	picture = GFX_report_event_pedro
	is_triggered_only = yes
	timeout_days = 3
	option = {
		name = kongocrisis.19.a
		ai_chance = { factor = 100 }
		add_stability = -0.01
		add_political_power = -10
		custom_effect_tooltip = kongocrisis.19.tt
	}
	option = {
		name = kongocrisis.19.b
		ai_chance = {
			factor = 0
		}
		ROOT = {
			declare_war_on = {
				target = KOG
				type = annex_everything
			}
		}
		add_stability = -0.03
		add_political_power = -30
		custom_effect_tooltip = kongocrisis.19.tt
	}
}

country_event = {#Unrest in Katanga
	id = kongocrisis.20
	title = kongocrisis.20.t
	desc = kongocrisis.20.d
	picture = GFX_report_event_usumbura
	is_triggered_only = yes
	timeout_days = 3
	option = {
		name = kongocrisis.20.a
		ai_chance = { factor = 100 }
		if = {
			limit = {
				tag = COG
			}
		add_political_power = -20
		if = {
			limit = {
				tag = MAF
			}
		add_stability = -0.01
		}
		hidden_effect = {
			country_event = {
				id = kongocrisis.21
				days = 2 random_days = 2
			}	
			country_event = {
				id = kongocrisis.24
				days = 3 random_days = 2
			}
			MAF = {
				country_event = kongocrisis.20
				}
			}
		}
	}
}

country_event = {#Coup in Orientale, proclamation of injustices
	id = kongocrisis.21
	title = kongocrisis.21.t
	desc = kongocrisis.21.d
	picture = GFX_report_event_MAF_askari
	is_triggered_only = yes
	timeout_days = 3
	option = {
		name = kongocrisis.21.a
		ai_chance = { factor = 100 }
		if = {
			limit = {
				tag = COG
				}
				hidden_effect = {
					country_event = {
						id = kongocrisis.22
						days = 3 random_days = 2
					}		
					country_event = {
						id = kongocrisis.23
						days = 4 random_days = 2
					}	
					country_event = {
						id = kongocrisis.24
						days = 6 random_days = 2
					}	
				UGA = {
					country_event = {
						id = kongocrisis.50
						days = 20 random_days = 10
					}
				}
				MAF = {
					country_event = {
						id = kongocrisis.21
						days = 1
					}
				}
			}
		custom_effect_tooltip = kongocrisis.21.tt	
		}
	}
}

country_event = {#Mutineer forces march into Kibali
	id = kongocrisis.22
	title = kongocrisis.22.t
	desc = kongocrisis.22.d
	picture = GFX_report_event_troops
	is_triggered_only = yes
	timeout_days = 3
	option = {
		name = kongocrisis.22.a
		ai_chance = { factor = 100 }
		add_political_power = -10
		decrease_ruling_party_popularity_by_5 = yes
	}
}

country_event = {#Costermanville falls to the Orientale rebels, atrocities
	id = kongocrisis.23
	title = kongocrisis.23.t
	desc = kongocrisis.23.d
	picture = GFX_report_event_kivu
	is_triggered_only = yes
	timeout_days = 3
	immediate = {
		hidden_effect = {
		BRD = {
			country_event = {
				id = kongocrisis.70
				days = 2 #Violence in Costermanville
				}
			}
		}
	}
	option = {#consider Rwanda intervention in Goma here
		name = kongocrisis.23.a
		ai_chance = { factor = 100 }
		add_stability = -0.01
		add_political_power = -20
	}
}

country_event = {#Maniema District Officers Slaughtered by Rebels
	id = kongocrisis.24
	title = kongocrisis.24.t
	desc = kongocrisis.24.d
	picture = GFX_report_event_lagoon
	is_triggered_only = yes
	timeout_days = 3
	immediate = {
		hidden_effect = {
			MAF = {
				country_event = {
					id = kongocrisis.25 
					days = 1 random_days = 2
				}
			}
			KTG = {
				country_event = {
					id = congo.7 #ask for administration changes
					days = 1
				}
			}
		}
	}
	option = {
		name = kongocrisis.24.a
		ai_chance = { factor = 100 }
		add_stability = -0.01
	}
}

country_event = {#Katanga's Vice Governor demands autonomy for crisis, messages Mittelafrika
	id = kongocrisis.25
	title = kongocrisis.25.t
	desc = kongocrisis.25.d
	picture = GFX_report_event_tsumeb
	is_triggered_only = yes
	timeout_days = 3
	fire_only_once = yes
	
	immediate = {
		hidden_effect = {
		KTG = {
			country_event = {
				id = kongocrisis.26
				days = 1 random_days = 2
				}
			}
		}
	}
	option = {
		name = kongocrisis.25.a
		ai_chance = { factor = 100 }
		add_political_power = 20
	}
}

country_event = {#MAF is impassive, says to KTG it is a fait accompli
	id = kongocrisis.26
	title = kongocrisis.26.t
	desc = kongocrisis.26.d
	picture = GFX_report_event_factory
	is_triggered_only = yes
	timeout_days = 3
	immediate = {
		hidden_effect = {
			COG = {		
				country_event = {
					id = kongocrisis.27
					days = 1 random_days = 2
				}
			}
			KTG = {		
				country_event = {
					id = congo.10 #Trade Issues
					days = 1 random_days = 2
				}
			}
			COG = {		
				country_event = {
					id = congo.10 #Trade Issues
					days = 1 random_days = 2
				}
			}
			BSC = {		
				country_event = {
					id = congo.10 #Trade Issues
					days = 1 random_days = 2
				}
			}
			ZAM = {		
				country_event = {
					id = congo.10 #Trade Issues
					days = 1 random_days = 2
				}
			}
			PAF = {		
				country_event = {
					id = congo.10 #Trade Issues
					days = 1 random_days = 2
				}
			}
			MAF = {		
				country_event = {
					id = congo.10 #Trade Issues
					days = 1 random_days = 2
				}
			}
		}
	}
	option = {
		name = kongocrisis.26.a
		ai_chance = { factor = 100 }
		add_political_power = 20
	}
}

country_event = {#Katanga declares itself a colony due to incompetence in Kongo
	id = kongocrisis.27
	title = kongocrisis.27.t
	desc = kongocrisis.27.d
	picture = GFX_report_event_sena
	is_triggered_only = yes
	timeout_days = 3
	immediate = {
		hidden_effect = {
			KTG = {#Chaos in Katanga
				country_event = {
					id = kongocrisis.32
					days = 14 random_days = 12
				}
			}
		}
	}
	option = {
		name = kongocrisis.27.a
		ai_chance = { factor = 100 }
		add_stability = 0.02
		custom_effect_tooltip = kongocrisis.27.tt	
	}
}

country_event = {#Ubangi receives talk from south
	id = kongocrisis.28
	title = kongocrisis.28.t
	desc = kongocrisis.28.d
	picture = GFX_report_event_steamship

	is_triggered_only = yes
	timeout_days = 3
	option = {
		name = kongocrisis.28.a
		ai_chance = {
			factor = 85
		}
		add_stability = -0.01
		add_political_power = -10
	}
	option = {
		name = kongocrisis.28.b #Total northern occupation
		ai_chance = {
			factor = 15
		}
		if = {
			limit = {
				COG = {
					owns_state = 1180
					}
				}
			transfer_state = 1180
			add_state_claim = 1180
		}
		if = {
			limit = {
				COG = {
					owns_state = 718
					}
				}
			transfer_state = 718
			add_state_claim = 718
		}
		add_stability = -0.1
		add_political_power = -75
		hidden_effect = {
			COG = {
				country_event = {
					id = kongocrisis.60
					days = 1 random_days = 2
				}
			}
			MAF = {
				country_event = {
					id = kongocrisis.60
					days = 1 random_days = 2
				}
			}
		}
	}
}

country_event = {#Dahomey declares independence
	id = kongocrisis.29
	title = kongocrisis.29.t
	desc = kongocrisis.29.d
	picture = GFX_report_event_togoland
	is_triggered_only = yes
	timeout_days = 3
	option = {
		name = kongocrisis.29.a
		trigger = {
			tag = CIV
		}
		ai_chance = {
			factor = 100
			modifier = {
				factor = 0.1
				NOT = {
					has_full_control_of_state = capital_scope
				}
			}
		}
		CIV = {
			declare_war_on = {
				target = DAH
				type = annex_everything
			}
		}
		add_political_power = -20
	}
	option = {
		name = kongocrisis.29.b
		ai_chance = {
			factor = 5
		}
		trigger = {
			tag = CIV
		}
		add_stability = 0.1
		add_war_support = -0.1
	}
	option = {
		name = kongocrisis.29.c
		ai_chance = {
			factor = 0
		}
		trigger = {
			tag = MAF
		}
		add_stability = 0.1
		add_war_support = -0.1
		hidden_effect = {
			DAH = {
				change_tag_from = MAF
			}
		}	
	}
}

country_event = {#Katanga falls to the Mwami!
	id = kongocrisis.30
	title = kongocrisis.30.t
	desc = kongocrisis.30.d
	picture = GFX_report_event_COG_force_publique_marching_to_war
	
	is_triggered_only = yes
	timeout_days = 3
	option = {
		name = kongocrisis.30.a
		ai_chance = {
			factor = 20
		}
		add_political_power = -10
		add_war_support = 0.01
	}
	option = {
		name = kongocrisis.30.b
		ai_chance = {
			factor = 80
			modifier = {
				factor = 0
				tag = MAF
			}
		}
		trigger = {
			tag = COG
		}
		ROOT = { declare_war_on = { target = UMN type = annex_everything } }
		hidden_effect = {
			if = {
				limit = {
					tag = COG
					}
				load_oob = COG_KTG_revolt
			}
			UMN = {
				country_event = {
					id = kongocrisis.69
					days = 240
				}
			}
		}
		add_political_power = -20
		add_war_support = 0.01
		hidden_effect = {
			MAF = {		
				country_event = {
					id = kongocrisis.30
					days = 0
				}
			}			
		}
	}
}

country_event = {#Defeat of the Mwami at Elizabethville
	id = kongocrisis.31
	title = kongocrisis.31.t
	desc = kongocrisis.31.d
	picture = GFX_report_event_march
	is_triggered_only = yes
	timeout_days = 3
	option = {
		name = kongocrisis.31.a
		ai_chance = { factor = 100 }
		add_political_power = 20
	}
 }
 

country_event = {#Chaos in Katanga
	id = kongocrisis.32
	title = kongocrisis.32.t
	desc = kongocrisis.32.d
	picture = GFX_report_event_COG_force_publique_marching_to_war
	is_triggered_only = yes
	timeout_days = 3
	immediate = {
	hidden_effect = {
		KTG = {
			country_event = {
				id = katanganew.20
				days = 4 random_days = 9
				}
			}
		}
	}
	option = {
		name = kongocrisis.32.a
		ai_chance = { factor = 100 }
		decrease_ruling_party_popularity_by_5 = yes
	}
}

country_event = {#Ruanda revolt
	id = kongocrisis.33
	title = kongocrisis.33.t
	desc = kongocrisis.33.d
	picture = GFX_report_event_ruanda
	is_triggered_only = yes
	timeout_days = 3
	immediate = {
		hidden_effect = {
			COG = {
				country_event = {
					id = kongocrisis.34
					days = 1 random_days = 2
					}
				}
				918 = {
					transfer_state_to = RWA #Kagera
				}
				BRD = {
					add_state_claim = 918
				}
				RWA = {
					load_oob = RWA_AFR
					load_focus_tree = african_monarchy
				}
			}
		}
	option = {
		name = kongocrisis.33.a
		ai_chance = { factor = 100 }
		add_stability = -0.02
	}
	option = {
		name = kongocrisis.33.b
		ai_chance = {
			factor = 0
		}
		add_stability = -0.02
		hidden_effect = {
			RWA = {
				change_tag_from = MAF
			}
		}
	}
}

country_event = {#Ubangi-Chari looks to its own administration and moves south
	id = kongocrisis.34
	title = kongocrisis.34.t
	desc = kongocrisis.34.d
	picture = GFX_report_event_campaigning
	is_triggered_only = yes
	timeout_days = 3
	immediate = {
		hidden_effect = {
			CEA = {
				country_event = {
					id = kongocrisis.28
					days = 0
				}
			}
		}
	}
	
	option = {
		name = kongocrisis.34.a
		ai_chance = { factor = 100 }
		add_political_power = 10
	}
	
}

country_event = {#ORT Rebels drop tag
	id = kongocrisis.35
	title = kongocrisis.35.t
	desc = kongocrisis.35.d
	picture = GFX_report_event_MAF_askari2
	is_triggered_only = yes
	timeout_days = 3
	immediate = {
		hidden_effect = {
			if = {
				limit = {
					UMN = {
						NOT = {
							has_war_with = COG
						}
					}
				}
				ORT = {
					load_oob = ORT_AFR
				}
			}
		}
				COG = {
					declare_war_on = {
						target = ORT
						type = annex_everything
					}
				}
				if = {
					limit = {
						MAF = {
							has_war_with = KAS
							}
						}
					MAF = {
						add_to_war = {
							targeted_alliance = COG
							enemy = ORT
						}
					}
				}
				ORT = {
					country_event = {
						id = kongocrisis.69
						days = 240
					}
				}
				KAS = {
					declare_war_on = {
						target = ORT
						type = annex_everything
					}
				}
			KTG = {
				country_event = {
					id = congo.9
					days = 1
				}
			}
		CMR = {
			country_event = {
				id = kongocrisis.36
				days = 1 random_days = 2
				}
			}
		}
	option = {
		name = kongocrisis.35.a
		ai_chance = { factor = 100 }
		add_war_support = 0.02
	}
}

country_event = {#Insurrection in Kamerun
	id = kongocrisis.36
	title = kongocrisis.36.t
	desc = kongocrisis.36.d
	picture = GFX_report_event_MAF_askari2
	is_triggered_only = yes
	timeout_days = 3
	immediate = {
		hidden_effect = {
		MAF = {
			country_event = {
				id = sharedafrika.109
				days = 1
			}
		}
		GER = {
			country_event = {
				id = sharedafrika.109
				days = 1
			}
		}
		CMR = {
			country_event = {
				id = sharedafrika.109
				days = 1
			}
		}
		NGR = {
			country_event = {
				id = sharedafrika.109
				days = 1
			}
		}
		CIV = {
			country_event = {
				id = sharedafrika.109
				days = 1
			}
		}
		NFA = {
			country_event = {
				id = sharedafrika.109
				days = 1
			}
		}
		KOG = {
			country_event = {
				id = sharedafrika.109
				days = 1
			}
		}
		hidden_effect = {
			CEA = {
				country_event = {
					id = kongocrisis.46
					days = 1 random_days = 2
				}
			}
			ADW = {
					load_focus_tree = {
						tree = kamerun
						keep_completed = yes
						copy_completed_from = CMR
					}
				transfer_state = 952
				transfer_state = 971
				transfer_state = 974
				load_oob = ADW_AFR
				country_event = {
					id = kongocrisis.69
					days = 240
				}
			}
				if = {
					limit = {
						OR = {
							CMR = {
								is_ai = no
							}
							MAF = {
								is_ai = no
							}
						}
					}
					ADW = {
						load_oob = ADW_AFR
					}
				}
			952 = { add_core_of = ADW }
			971 = { add_core_of = ADW }
			974 = { add_core_of = ADW }
			927 = { add_claim_by = ADW }
			KBR = {
				transfer_state = 962
				load_oob = KBR_AFR
				country_event = {
					id = kongocrisis.69
					days = 240
				}
			}
				if = {
					limit = {
						OR = {
							CMR = {
								is_ai = no
							}
							ADW = {
								is_ai = no
							}
							NGR = {
								is_ai = no
							}
						}
					}
					KBR = {
						load_oob = KBR_AFR
					}
				}
			962 = { add_core_of = KBR }
			913 = { add_core_of = KBR }
			CMR = {
				declare_war_on = {
					target = ADW
					type = annex_everything
				}
			}
			CMR = {
				declare_war_on = {
					target = KBR
					type = annex_everything
				}
			}
			ADW = {
				declare_war_on = {
					target = KBR
					type = annex_everything
				}
			}
			if = {
				limit = {
					CMR = {
						is_ai = yes
					}
				}
				load_oob = CMR_EMERGENCY
			}
		}
	}
	}
	
	option = {
		name = kongocrisis.36.a
		ai_chance = { factor = 100 }
		add_stability = -0.05
		add_war_support = 0.1
	}
	option = {
		name = kongocrisis.36.b
		ai_chance = {
			factor = 0
		}
		hidden_effect = {
			ADW = {
				change_tag_from = CMR
			}
		}
		add_stability = -0.05
		add_war_support = 0.1
	}
	option = {
		name = kongocrisis.36.c
		ai_chance = {
			factor = 0
		}
		add_stability = -0.05
		add_war_support = 0.1
		hidden_effect = {
			KBR = {
				change_tag_from = CMR
			}
		}		
	}
}

country_event = {#Deal with Ruanda?
	id = kongocrisis.37
	title = kongocrisis.37.t
	desc = kongocrisis.37.d
	is_triggered_only = yes
	timeout_days = 3
	picture = GFX_report_event_map_rwanda

	option = {
		name = kongocrisis.37.a
		ai_chance = {
			factor = 90
			modifier = {
				factor = 0.1
				NOT = {
					has_full_control_of_state = capital_scope
				}
			}
		}
		ROOT = {
			declare_war_on = {
				target = RWA
				type = annex_everything
			}
			add_war_support = -0.01
		}
		MAF = {
			country_event = {
				id = ruanda.28
				days = 90
			}
		}
		UGA = {
			country_event = {
				id = kongocrisis.76 #intervention
				days = 2
			}
		}
		COG = {
			country_event = {
				id = kongocrisis.76 #intervention
				days = 2
			}
		}
	}
	option = {
		name = kongocrisis.37.b
		ai_chance = {
			factor = 10
		}
		add_stability = 0.02
		RWA = {
			country_event = {
				id = ruanda.8
				days = 2
			}
		}
	}
}

country_event = {#Gabon Rising
	id = kongocrisis.38
	title = kongocrisis.38.t
	desc = kongocrisis.38.d
	picture = GFX_report_event_GAB_map
	is_triggered_only = yes
	timeout_days = 3
	immediate = {
		hidden_effect = {
		MAF = {
			country_event = {
				id = sharedafrika.112
				days = 1
			}
		}
		GER = {
			country_event = {
				id = sharedafrika.112
				days = 1
			}
		}
		CMR = {
			country_event = {
				id = sharedafrika.112
				days = 1
			}
		}
		COG = {
			country_event = {
				id = sharedafrika.112
				days = 1
			}
		}
		KTG = {
			country_event = {
				id = sharedafrika.112
				days = 1
			}
		}
		CEA = {
			country_event = {
				id = sharedafrika.112
				days = 1
			}
		}
	}
	hidden_effect = {
		GAB = {
			transfer_state = 539
			load_oob = GAB_AFR
			separate_peace_all_wars = yes
			add_ideas = MAF_Nat_Buff
			country_event = {
				id = gab.1
				days = 1
			}
			country_event = {
					id = kongocrisis.39
					days = 1 random_days = 2
				}
			}
				if = {
					limit = {
						OR = {
							KOG = {
								is_ai = no
							}
							MAF = {
								is_ai = no
							}
						}
					}
					GAB = {
						load_oob = GAB_AFR
					}
				}
			MAF = {
				country_event = {
					id = kongocrisis.40
					days = 2 random_days = 2
					}
				}
				if = {
					limit = {
						KOG = {
							NOT = {
								has_country_leader = { name = "Curt von Haase" }
								}
							}
						}
				CMR = {
					country_event = {
						id = kongocrisis.58
						days = 42 random_days = 2
					}
				}
				COG = {
					country_event = {
						id = kongocrisis.58
						days = 42 random_days = 2
					}
				}
			}
		}
	}
	option = {
		name = kongocrisis.38.a
		ai_chance = { factor = 100 }
		add_war_support = 0.05
	}
}

country_event = {#Gabon chooses to declare war?
	id = kongocrisis.39
	title = kongocrisis.39.t
	desc = kongocrisis.39.d
	picture = GFX_report_event_GAB_map
	is_triggered_only = yes
	timeout_days = 3
	option = {
		name = kongocrisis.39.a
		ai_chance = {
			factor = 75
		}
		KOG = {
			country_event = {
				id = congo.11
				days = 1
			}
		}
		TKE = {
			country_event = {
				id = congo.11
				days = 1
			}
		}
		if = {
			limit = {
				tag = KOG
				NOT = {
					has_war_with = TKE
				}
			}
			KOG = {
				declare_war_on = {
					target = TKE
					type = annex_everything
				}
			}
		}
	}
	option = {
		name = kongocrisis.39.b #do nothing
		ai_chance = {
			factor = 25
		}
		KOG = {
			country_event = {
				id = congo.11
				days = 1
			}
		}
		TKE = {
			country_event = {
				id = congo.11
				days = 1
			}
		}
	}
}

country_event = {#Leopoldville forces march into Aquatorialkongo
	id = kongocrisis.40
	title = kongocrisis.40.t
	desc = kongocrisis.40.d
	picture = GFX_report_event_MAF_mahiwa
	is_triggered_only = yes
	timeout_days = 3
	immediate = {
		hidden_effect = {
			MAF = {
				country_event = {
				id = kongocrisis.41
				days = 4 random_days = 2
				}
			}
			GHA = {
			country_event = {
				id = kongocrisis.52
				days = 13 random_days = 2
				}
			}
		}
	}
	option = {
		name = kongocrisis.40.a
		add_stability = 0.03
		add_political_power = 10
		ai_chance = { factor = 100 }
	}
}

country_event = {#Ostafrikan garrisons mutiny
	id = kongocrisis.41
	title = kongocrisis.41.t
	desc = kongocrisis.41.d
	picture = GFX_report_event_usumbura
	is_triggered_only = yes
	timeout_days = 3
	immediate = {
		hidden_effect = {
			country_event = {
				id = kongocrisis.42
				days = 1 random_days = 2
			}
		}
	}
	option = {
		name = kongocrisis.41.a
		ai_chance = { factor = 100 }
		add_stability = -0.02
		add_timed_idea = {
			idea = AUTH_chaotic_army_idea
			days = 20
		}
	}
}

country_event = {#The Sultan of Zanzibar makes bad noises
	id = kongocrisis.42
	title = kongocrisis.42.t
	desc = kongocrisis.42.d
	picture = GFX_report_event_MAF_zanzibar
	is_triggered_only = yes
	timeout_days = 3
	immediate = {
		hidden_effect = {
			country_event = {
				id = kongocrisis.43
				days = 2 random_days = 2
			}
		}
	}
	option = {
		name = kongocrisis.42.a
		ai_chance = { factor = 100 }
		add_stability = -0.01
	}
}

country_event = {#Portugal Support for Ruvuma Guerillas
	id = kongocrisis.43
	title = kongocrisis.43.t
	desc = kongocrisis.43.d
	picture = GFX_report_event_timor_troops
	is_triggered_only = yes
	timeout_days = 3
	immediate = {
		hidden_effect = {
			country_event = {
				id = kongocrisis.44
				days = 2
			}
		hidden_effect = {
			CIV = {
				country_event = {
					id = kongocrisis.29
					days = 3
					}
				}
			}
		}
	}
	option = {
		name = kongocrisis.43.a
		ai_chance = { factor = 100 }
		add_war_support = 0.02
	}
}

country_event = {#Dahomey declares independence
	id = kongocrisis.44
	title = kongocrisis.44.t
	desc = kongocrisis.44.d
	picture = GFX_report_event_chiefs
	is_triggered_only = yes
	timeout_days = 3
	immediate = {
		hidden_effect = {
		NGR = {#Bornu revolt
			country_event = {
				id = kongocrisis.45
				days = 5 random_days = 2
				}
			}
		#Intervene?
		NGR = {
			country_event = {
				id = kongocrisis.47
				days = 2 random_days = 2
				}
			}
		GHA = {
			country_event = {
				id = kongocrisis.47
				days = 3 random_days = 2
				}
			}
		NFA = {
			country_event = {
				id = kongocrisis.47
				days = 3 random_days = 2
				}
			}
		MAF = {
			country_event = {
				id = kongocrisis.47
				days = 3 random_days = 2
				}
			}
		CIV = {
				set_autonomy = {
					target = DAH
					autonomous_state = autonomy_free
				}
			}
		GER = { remove_from_faction = DAH }
		DAH = {
			transfer_technology = yes
			transfer_state = 876
			add_state_core = 876
			add_state_core = 877
			load_oob = "DAH_AFR"
			add_ideas = DAH_black_monday
			add_ideas = DAH_the_concessions
			country_event = {
				id = dahomeynew.1
				days = 2
				}
				country_event = {
					id = kongocrisis.69
					days = 240
				}
			}
			DAH = {
				separate_peace_all_wars = yes
			}	
			if = {
				limit = {
					OR = {
						CIV = {
							is_ai = no
						}
						MAF = {
							is_ai = no
						}
					}
				}
				DAH = {
					load_oob = DAH_AFR
				}
			}
		}
	}
	option = {
		name = kongocrisis.44.a
		ai_chance = { factor = 100 }
	}
}
country_event = {#Bornu tribes rise up, Nigerian interventon
	id = kongocrisis.45
	title = kongocrisis.45.t
	desc = kongocrisis.45.d
	picture = GFX_report_event_skeleton_coast
	is_triggered_only = yes
	timeout_days = 3
	immediate = {
		hidden_effect = {
			KBR = {
				transfer_state = 913
			}
			913 = {
				add_core_of = KBR
			}
			#Interventions?
			MAF = {
				country_event = {
					id = congo.12
					days = 1
				}
			}
			NFA = {
				country_event = {
					id = congo.12
					days = 1
				}
			}
			CEA = {
				country_event = {
					id = congo.12
					days = 1
				}
			}
			CMR = {
				country_event = {
					id = congo.12
					days = 1
				}
			}
		}
	}
	option = {
		name = kongocrisis.45.a
		ai_chance = {
			factor = 99
			modifier = {
				factor = 0.1
				NOT = {
					has_full_control_of_state = capital_scope
				}
			}
		}
			NGR = {
				declare_war_on = {
					target = KBR
					type = annex_everything
			}
		}
		962 = { add_claim_by = NGR }
	}
	option = {
		name = kongocrisis.45.b
		ai_chance = {
			factor = 1
		}
		add_stability = -0.05
	}
}

country_event = {#Ubangi intervene or not
	id = kongocrisis.46
	title = kongocrisis.46.t
	desc = kongocrisis.46.d
	picture = GFX_report_event_playing
	is_triggered_only = yes
	timeout_days = 3
	
	#intervene
	option = {
		name = kongocrisis.46.a
		ai_chance = {
			factor = 50
			modifier = {
				factor = 0.1
				NOT = {
					has_full_control_of_state = capital_scope
				}
			}
		}
		CEA = {
			declare_war_on = {
				target = ADW
				type = annex_everything
				}	
			}
		hidden_effect = {
			ADW = {
				load_oob = CMR_FURTHER
			}
			660 = { add_claim_by = ADW }
			975 = { add_claim_by = ADW }
			962 = { add_core_of = ADW }
			971 = { add_claim_by = CEA }
			974 = { add_claim_by = CEA }
		}
		add_war_support = 0.05
		add_political_power = -25
		hidden_effect = {
			country_event = {
				id = kongocrisis.48 
				days = 14 random_days = 1
			}
		}
	}
	#nah
	option = {
		name = kongocrisis.46.b
		ai_chance = {
			factor = 30
		}
		add_stability = 0.01
		hidden_effect = {
			country_event = {
				id = kongocrisis.48
				days = 22 random_days = 2
			}
		}
	}
	option = {
		name = kongocrisis.46.c
			trigger = {
			CMR = {
				is_ai = yes
			}
		}
		ai_chance = {
			factor = 20
		}
		add_political_power = -50
		CEA = { transfer_state = 971 }
		CEA = { transfer_state = 974 }
		hidden_effect = {
			country_event = {
				id = kongocrisis.48
				days = 14 random_days = 2
			}
		}
	}
}
country_event = {#Intervene against Dahomey?
	id = kongocrisis.47
	title = kongocrisis.47.t
	desc = kongocrisis.47.d
	picture = GFX_report_event_campaigning
	is_triggered_only = yes
	timeout_days = 3
	option = {
		name = kongocrisis.47.a
		ai_chance = {
			factor = 10
			modifier = {
				factor = 0
				OR = {
					tag = NFA
					tag = MAF
				}
			}
			modifier = {
				factor = 0.1
				NOT = {
					has_full_control_of_state = capital_scope
				}
			}
			modifier = {
				factor = 100
				NGR = {
					has_completed_focus = NGR_enforceanewmandate
				}
			}
		}
		ROOT = {
			declare_war_on = {
				target = DAH
				type = annex_everything
			}
		}
		add_political_power = -30
		add_stability = -0.01
		add_war_support = -0.02
	}
	option = {
		name = kongocrisis.47.b
		ai_chance = {
			factor = 90
		}
	}
}

country_event = {#Selenka Revolt
	id = kongocrisis.48
	title = kongocrisis.48.t
	desc = kongocrisis.48.d
	picture = GFX_report_event_JBS_Horses
	is_triggered_only = yes
	timeout_days = 3
	#Bokassa takes over
	option = {
		name = kongocrisis.48.a
		ai_chance = {
			factor = 33
			modifier = {
				factor = 0
				has_game_rule = {
					rule = CEA_government
					option = CEA_GOVERNMENT_GERMANS_WIN
				}
			}
			modifier = {
				factor = 0
				has_game_rule = {
					rule = CEA_government
					option = CEA_GOVERNMENT_SULTAN_STAYS_IN_POWER
				}
			}
			modifier = {
				factor = 0
				has_game_rule = {
					rule = CEA_government
					option = CEA_GOVERNMENT_BOGANDA_COUP
				}
			}
			modifier = {
				factor = 0
				has_game_rule = {
					rule = CEA_government
					option = CEA_GOVERNMENT_SOCIALIST_COUP
				}
			}
			modifier = {
				factor = 0
				has_game_rule = {
					rule = CEA_government
					option = CEA_GOVERNMENT_WADAI_COUP
				}
			}
		}
		hidden_effect = {
			MAF = {
				country_event = {
					id = sharedafrika.110
					days = 1
				}
			}
			GER = {
				country_event = {
					id = sharedafrika.110
					days = 1
				}
			}
			CMR = {
				country_event = {
					id = sharedafrika.110
					days = 1
				}
			}
			UGA = {
				country_event = {
					id = sharedafrika.110
					days = 1
				}
			}
			NFA = {
				country_event = {
					id = sharedafrika.110
					days = 1
				}
			}
			SUD = {
				country_event = {
					id = sharedafrika.110
					days = 1
				}
			}
			EGY = {
				country_event = {
					id = sharedafrika.110
					days = 1
				}
			}
		}
		add_political_power = 30
		add_stability = -0.25
		set_politics = {
			ruling_party = paternal_autocrat
			last_election = "1918.11.9"
			election_frequency = 48
			elections_allowed = no
		}
		hidden_effect = {
		set_popularities = {
			totalist = 0
			syndicalist = 0
			radical_socialist = 0
			social_democrat = 23
			social_liberal = 5
			market_liberal = 5
			social_conservative = 25
			authoritarian_democrat = 0
			paternal_autocrat = 42
			national_populist = 0
		}
		set_country_flag = soc_dems_are_socialists
		set_party_name = {
			name = CEA_paternal_autocrat_party2
			long_name = CEA_paternal_autocrat_party2_long
			ideology = paternal_autocrat
		}
		country_event = { id = cea.0 days = 2 }
		country_event = { id = cea_flavour.24 days = 67 }
		country_event = { id = cea_flavour.25 days = 88 }
		country_event = { id = cea_flavour.58 days = 3917 }
		hidden_effect = {
		every_unit_leader = {
			limit = {
				OR = {
					has_id = 22995 #Hermann von der Heyde
					has_id = 22999 #Kurt Strümpell
					has_id = 87952 #Hans Surén
				}
			}
			set_nationality = MAF
			}
			create_field_marshal = {
				name = "Kamoun Mohamed al-Senoussi"
				portrait_path = "gfx/leaders/CEA/Portrait_CEA_Kamoun_Mohamed_Senoussi.png"
				traits = {
					war_hero
					hidden_sympathies
				}
				id = 6599
				skill = 1
				attack_skill = 1
				defense_skill = 2
				planning_skill = 1
				logistics_skill = 2
			}
			create_corps_commander = {
				name = "Toumba Modomdoko"
				portrait_path = "gfx/leaders/CEA/Portrait_CEA_Toumba_Modomdoko.png"
				traits = {
					war_hero
					media_personality
					brilliant_strategist
				}
				id = 6600
				skill = 3
				attack_skill = 2
				defense_skill = 2
				planning_skill = 1
				logistics_skill = 2
			}
			create_field_marshal = {
				name = "Georges Koudoukou"
				portrait_path = "gfx/leaders/WAD/Portrait_WAD_georges_koudoukou.png"
				traits = { organisational_leader }
				skill = 2
				attack_skill = 2
				defense_skill = 1
				planning_skill = 2
				logistics_skill = 2
			}
			create_corps_commander = {
				name = "Yorgui Koli"
				portrait_path = "gfx/leaders/WAD/Portrait_WAD_Yorgui_Koli.png"
				traits = { infantry_officer }
				skill = 2
				attack_skill = 2
				defense_skill = 2
				planning_skill = 2
				logistics_skill = 1
			}
		}
		remove_ideas = {
			Generic_Colonial_Nation
		}
		add_ideas = {
			CEA_split_larp
			CEA_inferiority_complex
			CEA_fresh_meat
			###Ministers ###
			CEA_Barthelemy_Boganda_hog_sli
		}
		retire_country_leader = yes
		create_country_leader = {
			name = "Jean-Bédel Bokassa"
			desc = "POLITICS_BOKASSA_LEADER_DESC"
			picture = "gfx/leaders/CEA/Portrait_CEA_Jean_Bedel_Bokassa.png"
			expire = "1.1.1"
			ideology = junta_subtype
		}
			drop_cosmetic_tag = yes
			set_country_flag = revoltsuccessful
			set_party_name = {
				name = CEA_paternal_autocrat_party4
				long_name = CEA_paternal_autocrat_party4_long
				ideology = paternal_autocrat
			}
		}
		MAF = {
			hidden_effect = {
				set_autonomy = {
					target = CEA
					autonomous_state = autonomy_free
				}
			}
			GER = { remove_from_faction = CEA }
		}
		CEA = {
			separate_peace_all_wars = yes
		}
		hidden_effect = {
			660 = { add_claim_by = CMR }
			975 = { add_claim_by = CMR }
			if = {#if CEA intervened south and took north Congo
				limit = {
					CEA = {
						owns_state = 1180
						}
					}
				1180 = { add_claim_by = CMR }
			}
			if = {
				limit = {
					CEA = {
						owns_state = 718
						}
					}
				718 = { add_claim_by = CMR }
			}
			660 = { add_claim_by = ADW }
			975 = { add_claim_by = ADW }
			if = {#if CEA intervened south and took north Congo
				limit = {
					CEA = {
						owns_state = 1180
						}
					}
				1180 = { add_claim_by = CMR }
			}
		if = {
			limit = {
				CEA = {
					owns_state = 718
					}
				}
			718 = { add_claim_by = ADW }
			}
		}
	}
	#Germans win, coup fails
	option = {
		name = kongocrisis.48.b
		ai_chance = {
			factor = 66
			modifier = {
				factor = 0
				has_game_rule = {
					rule = CEA_government
					option = CEA_GOVERNMENT_BOKASSA_TAKES_OVER_EARLY
				}
			}
			modifier = {
				factor = 0
				has_game_rule = {
					rule = CEA_government
					option = CEA_GOVERNMENT_SULTAN_STAYS_IN_POWER
				}
			}
			modifier = {
				factor = 0
				has_game_rule = {
					rule = CEA_government
					option = CEA_GOVERNMENT_BOGANDA_COUP
				}
			}
			modifier = {
				factor = 0
				has_game_rule = {
					rule = CEA_government
					option = CEA_GOVERNMENT_SOCIALIST_COUP
				}
			}
			modifier = {
				factor = 0
				has_game_rule = {
					rule = CEA_government
					option = CEA_GOVERNMENT_WADAI_COUP
				}
			}
		}
		hidden_effect = {
			set_country_flag = revoltsuppressed
			every_unit_leader = {
				limit = {
					OR = {
						has_id = 6596 #Jean-Bédel Bokassa
					}
				}
				set_nationality = SUD
			}
		}
		add_stability = -0.1
		add_war_support = 0.1
	}
	#Seleka victory under Emir
	option = {
		name = kongocrisis.48.c
		ai_chance = {
			factor = 66
			modifier = {
				factor = 0
				has_game_rule = {
					rule = CEA_government
					option = CEA_GOVERNMENT_BOKASSA_TAKES_OVER_EARLY
				}
			}
			modifier = {
				factor = 0
				has_game_rule = {
					rule = CEA_government
					option = CEA_GOVERNMENT_GERMANS_WIN
				}
			}
		}
		hidden_effect = {
			MAF = {
				country_event = {
					id = sharedafrika.110
					days = 1
				}
			}
			GER = {
				country_event = {
					id = sharedafrika.110
					days = 1
				}
			}
			CMR = {
				country_event = {
					id = sharedafrika.110
					days = 1
				}
			}
			UGA = {
				country_event = {
					id = sharedafrika.110
					days = 1
				}
			}
			NFA = {
				country_event = {
					id = sharedafrika.110
					days = 1
				}
			}
			SUD = {
				country_event = {
					id = sharedafrika.110
					days = 1
				}
			}
			EGY = {
				country_event = {
					id = sharedafrika.110
					days = 1
				}
			}
		}
		add_stability = -0.1
		hidden_effect = {
			set_country_flag = revoltsuccessful
			set_party_name = {
				name = CEA_paternal_autocrat_party3
				long_name = CEA_paternal_autocrat_party3_long
				ideology = paternal_autocrat
			}
			every_unit_leader = {
				limit = {
					OR = {
						has_id = 22995 #Hermann von der Heyde
						has_id = 22999 #Kurt Strümpell
						has_id = 87952 #Hans Surén
					}
				}
				set_nationality = MAF
			}
			create_field_marshal = {
				name = "Kamoun Mohamed al-Senoussi"
				portrait_path = "gfx/leaders/CEA/Portrait_CEA_Kamoun_Mohamed_Senoussi.png"
				traits = {
					war_hero
					hidden_sympathies
				}
				id = 6599
				skill = 1
				attack_skill = 1
				defense_skill = 2
				planning_skill = 1
				logistics_skill = 2
			}
			create_corps_commander = {
				name = "Toumba Modomdoko"
				portrait_path = "gfx/leaders/CEA/Portrait_CEA_Toumba_Modomdoko.png"
				traits = {
					war_hero
					media_personality
					brilliant_strategist
				}
				id = 6600
				skill = 3
				attack_skill = 2
				defense_skill = 2
				planning_skill = 1
				logistics_skill = 2
			}
			create_field_marshal = {
				name = "Georges Koudoukou"
				portrait_path = "gfx/leaders/WAD/Portrait_WAD_georges_koudoukou.png"
				traits = { organisational_leader }
				skill = 2
				attack_skill = 2
				defense_skill = 1
				planning_skill = 2
				logistics_skill = 2
			}
			create_corps_commander = {
				name = "Yorgui Koli"
				portrait_path = "gfx/leaders/WAD/Portrait_WAD_Yorgui_Koli.png"
				traits = { infantry_officer }
				skill = 2
				attack_skill = 2
				defense_skill = 2
				planning_skill = 2
				logistics_skill = 1
			}
		}
		retire_country_leader = yes
		create_country_leader = {
			name = "Muhammad Urada ibn Ibrahim"
			picture = "gfx/leaders/WAD/Portrait_WAD_Muhammad_Urada.png"
			expire = "1.1.1"
			ideology = soccon_tribal_chiefdom_subtype
		}
		create_corps_commander = {
			name = "Sultan Hetman of Rafai"
			portrait_path = "gfx/leaders/CEA/Portrait_CEA_Sultan_Hetman.png"
			traits = {
				war_hero
				politically_connected
			}
			id = 6602
			skill = 2
			attack_skill = 2
			defense_skill = 2
			planning_skill = 1
			logistics_skill = 2
		}
		if = {
			limit = {
				NOT = {
					has_unit_leader = 6603
					}
				}
			create_corps_commander = {
				name = "Auguste Fatrane of Rafai"
				portrait_path = "gfx/leaders/CEA/Portrait_CEA_Auguste_Fatrane.png"
				traits = {
					war_hero
					politically_connected
				}
				id = 6603
				skill = 2
				attack_skill = 2
				defense_skill = 2
				planning_skill = 1
				logistics_skill = 2
				}
			}
		if = {
			limit = {
				NOT = {
					has_unit_leader = 6604
					}
				}
			create_corps_commander = {
				name = "Amiel Sayo of Bangassou"
				portrait_path = "gfx/leaders/CEA/Portrait_CEA_Amiel_Sayo.png" #Not actually him
				traits = {
					war_hero
					politically_connected
				}
				id = 6604
				skill = 2
				attack_skill = 2
				defense_skill = 2
				planning_skill = 1
				logistics_skill = 2
				}
			}
			set_capital = { state = 975 }
			set_cosmetic_tag = CEA_WAD_FREE
			set_politics = {
				ruling_party = social_conservative
				elections_allowed = no
			}
			add_popularity = {
				ideology = social_conservative
				popularity = 0.15
			}
		MAF = {
			set_autonomy = {
				target = CEA
				autonomous_state = autonomy_free
			}
			GER = { remove_from_faction = CEA }
			}
			CEA = {
				separate_peace_all_wars = yes
			}
		CEA = {
			declare_war_on = {
				target = ADW
				type = annex_everything
				}
			}
		CMR = {
			declare_war_on = {
				target = CEA
				type = annex_everything
				}
			}
		660 = { add_claim_by = CMR }
		975 = { add_claim_by = CMR }
		if = {#if CEA intervened south and took north Congo
			limit = {
				CEA = {
					owns_state = 1180
					}
				}
			1180 = { add_claim_by = CMR }
		}
		if = {
			limit = {
				CEA = {
					owns_state = 718
					}
				}
			718 = { add_claim_by = CMR }
		}
		660 = { add_claim_by = ADW }
		975 = { add_claim_by = ADW }
		if = {#if CEA intervened south and took north Congo
			limit = {
				CEA = {
					owns_state = 1180
					}
				}
			1180 = { add_claim_by = CMR }
		}
		if = {
			limit = {
				CEA = {
					owns_state = 718
					}
				}
			718 = { add_claim_by = ADW }
		}
	}
}

country_event = {#Rebels in South West Afrika
	id = kongocrisis.49
	title = kongocrisis.49.t
	desc = kongocrisis.49.d
	picture = GFX_report_event_IRQ_Revolt_2
	is_triggered_only = yes
	timeout_days = 3
	immediate = {
		hidden_effect = {
			964 = {
				set_demilitarized_zone = no
			}
			NBL = {
				transfer_state = 964
				load_oob = NBL_AFR
				add_state_core = 964
				add_state_core = 541
				country_event = {
					id = kongocrisis.69
					days = 240
				}
			}
				if = {
					limit = {
						OR = {
							NMB = {
								is_ai = no
							}
							MAF = {
								is_ai = no
							}
						}
					}
					NBL = {
						load_oob = NBL_AFR
					}
				}
			NMB = {
				declare_war_on = {
					target = NBL
					type = annex_everything
				}
			}
		}
	}
	option = {
		name = kongocrisis.49.a
		ai_chance = { factor = 100 }
		add_stability = -0.2
		add_political_power = -100
	}
	option = {
		name = kongocrisis.49.b
		ai_chance = {
			factor = 0
		}
		add_stability = -0.25
		add_political_power = -100
		hidden_effect = {
			NBL = {
				change_tag_from = NMB
			}
		}
	}
}

country_event = {#Uganda intervene against cliques
	id = kongocrisis.50
	title = kongocrisis.50.t
	desc = kongocrisis.50.d
	picture = GFX_report_event_LIB_native_removal
	is_triggered_only = yes
	timeout_days = 3
	immediate = {
		hidden_effect = {
			MAF = {
				country_event = {
					id = kongocrisis.54
					days = 7 random_days = 2
				}
			}
			BRD = {
				country_event = {
					id = kongocrisis.77 #BRD intervene?
					days = 8 random_days = 4
				}
			}
		}
	}
	option = {#intervene
		name = kongocrisis.50.a
		ai_chance = {
			factor = 10
			modifier = {
				factor = 0.1
				NOT = {
					has_full_control_of_state = capital_scope
				}
			}
		}
		UGA = {
			declare_war_on = {
				target = ORT
				type = annex_everything
			}
			declare_war_on = {
				target = KAS
				type = annex_everything
			}
			declare_war_on = {
				target = UMN
				type = annex_everything
			}
		}
		add_political_power = -50
		add_war_support = -0.01
	}
	option = {
		name = kongocrisis.50.b
		ai_chance = {
			factor = 30
		}
		add_stability = 0.01
	}
}
country_event = {#Pedro does not revolt, German Mittelkongo
	id = kongocrisis.51
	title = kongocrisis.51.t
	desc = kongocrisis.51.d
	picture = GFX_report_event_LIB_exile_native_reaction
	is_triggered_only = yes
	timeout_days = 3
	option = {#neat
		name = kongocrisis.51.a
		ai_chance = { factor = 100 }
		add_stability = 0.02
	}
}
country_event = {#Whispers of a coup
	id = kongocrisis.52
	title = kongocrisis.52.t
	desc = kongocrisis.52.d
	picture = GFX_report_event_square
	is_triggered_only = yes
	timeout_days = 3
	option = {#Do something
		name = kongocrisis.52.a
		ai_chance = {
			factor = 50
		}
		add_political_power = -30
	}
	option = {#Do nothing
		name = kongocrisis.52.b
		ai_chance = {
			factor = 150
		}
		add_stability = 0.01
		hidden_effect = {
			country_event = {
				id = kongocrisis.55
				days = 34 random_days = 2
			}
		if = {
			limit = {
				ENG = {
					has_socialist_government = yes
					}
				}
		ENG = {
			country_event = {
				id = kongocrisis.56
				days = 1
					}
				}
			}
		if = {
			limit = {
				FRA = {
					has_socialist_government = yes
					}
				}
		FRA = {
			country_event = {
				id = kongocrisis.56
				days = 1
					}
				}
			}
		if = {
			limit = {
				SRI = {
					has_socialist_government = yes
					}
				}
		SRI = {
			country_event = {
				id = kongocrisis.56
				days = 1
					}
				}
			}
		if = {
			limit = {
				MEX = {
					has_socialist_government = yes
					}
				}
		MEX = {
			country_event = {
				id = kongocrisis.56
				days = 1
					}
				}
			}
		if = {
			limit = {
				CHL = {
					has_socialist_government = yes
					}
				}
		CHL = {
			country_event = {
				id = kongocrisis.56
				days = 1
					}
				}
			}
		if = {
			limit = {
				BHC = {
					has_socialist_government = yes
					}
				}
		BHC = {
			country_event = {
				id = kongocrisis.56
				days = 1
					}
				}
			}
		if = {
			limit = {
				NIC = {
					has_socialist_government = yes
					}
				}
		NIC = {
			country_event = {
				id = kongocrisis.56
				days = 1
					}
				}
			}
		if = {
			limit = {
				RUS = {
					has_socialist_government = yes
					}
				}
		RUS = {
			country_event = {
				id = kongocrisis.56
				days = 1
					}
				}
			}
		if = {
			limit = {
				POL = {
					has_socialist_government = yes
					}
				}
		POL = {
			country_event = {
				id = kongocrisis.56
				days = 1
					}
				}
			}
		}
	}
}

country_event = {#Intervene against the Gold Coast Revolt
	id = kongocrisis.53
	title = kongocrisis.53.t
	desc = kongocrisis.53.d
	picture = GFX_report_event_LIB_snek
	is_triggered_only = yes
	timeout_days = 3
	option = {#intervene
		name = kongocrisis.53.a
		ai_chance = {
			factor = 80
			modifier = {
				factor = 0.1
				NOT = {
					has_full_control_of_state = capital_scope
				}
			}
		}
		declare_war_on = {
			target = GHA
			type = annex_everything
		}
		add_political_power = -50
	}
	option = {
		name = kongocrisis.53.b
		ai_chance = {
			factor = 20
		}
	}
}

country_event = {#Mittelafrika intervention into the basin
	id = kongocrisis.54
	title = kongocrisis.54.t
	desc = kongocrisis.54.d
	picture = GFX_report_event_COG_congo_map
	is_triggered_only = yes
	timeout_days = 3
	option = {#intervene
		name = kongocrisis.54.a
		ai_chance = {
			factor = 90
			modifier = {
				factor = 0.1
				NOT = {
					has_full_control_of_state = capital_scope
				}
			}
		}
		add_stability = -0.02
			if = {
				limit = {
					tag = MAF
					NOT = {
						has_war_with = ORT
					}
				}
				BRD = {
					declare_war_on = {
						target = ORT
						type = annex_everything
					}
				}
				MAF = {
					declare_war_on = {
						target = ORT
						type = annex_everything
					}
				}
			}
			if = {
				limit = {
					tag = MAF
					NOT = {
						has_war_with = KAS
					}
				}
				KAS = {
					declare_war_on = {
						target = ORT
						type = annex_everything
					}
				}
				MAF = {
					declare_war_on = {
						target = KAS
						type = annex_everything
					}
				}
			}
		if = {
			limit = {
				COG = {
					has_war_with = UMN
					}
				}
				BRD = {
					declare_war_on = {
						target = UMN
						type = annex_everything
					}
				}
			MAF = {
				declare_war_on = {
					target = UMN
					type = annex_everything
				}
			}
		}
	}
	option = {
		name = kongocrisis.54.b
		ai_chance = {
			factor = 10
		}
		add_stability = 0.02
		add_political_power = 30
	}
}

country_event = {#Attempted coup in Ghana
	id = kongocrisis.55
	title = kongocrisis.55.t
	desc = kongocrisis.55.d
	picture = GFX_report_event_CIV_accra_riots
	is_triggered_only = yes
	timeout_days = 3
	option = {#Coup fails
		name = kongocrisis.55.a
		ai_chance = {
			factor = 75
		}
		add_stability = -0.03
		add_political_power = 50
	}
	option = {#Socialist coup succeeds
		name = kongocrisis.55.b
		ai_chance = {
			factor = 15
		}
		trigger = {
			NOT = {
				ROOT = {
					has_completed_focus = GHA_carrotforthemoderates
				}
			}
		}
		hidden_effect = {
			news_event = {
				id = sharedafrika.22
				days = 1
			}
			set_country_flag = ghana_redrevolt
			IVO = {
				country_event = {
					id = kongocrisis.53
					days = 1
				}
			}
			CIV = {
				country_event = {
					id = kongocrisis.53
					days = 1
				}
			}
		}
		add_stability = -0.03
		add_political_power = 50
		set_politics = {
			ruling_party = syndicalist
		}
		drop_cosmetic_tag = yes
		MAF = {
				set_autonomy = {
					target = ROOT
					autonomous_state = autonomy_free
				}
			}
			GER = {
				remove_from_faction = ROOT
			}
			ROOT = {
				separate_peace_all_wars = yes
			}
		}
	option = {#Nativist counter coup
		name = kongocrisis.55.c
		ai_chance = {
			factor = 10
		}
		hidden_effect = {
			news_event = {
				id = sharedafrika.21
				days = 1
			}
			set_country_flag = ghana_ashanterevolt
		}
		hidden_effect = {
			IVO = {
				country_event = {
					id = kongocrisis.53
					days = 1
				}
			}
			CIV = {
				country_event = {
					id = kongocrisis.53
					days = 1
				}
			}
		}
		add_stability = -0.03
		add_political_power = 50
		set_politics = {
			ruling_party = national_populist
		}
		drop_cosmetic_tag = yes
		set_cosmetic_tag = GHA_ASH
		set_capital = { state = 1321 }
		MAF = {
			set_autonomy = {
				target = ROOT
				autonomous_state = autonomy_free
			}
		}
		GER = {
			remove_from_faction = ROOT
		}
		ROOT = {
			separate_peace_all_wars = yes
		}
	}
}

country_event = {#Gold Coast rebels ask for arms
	id = kongocrisis.56
	title = kongocrisis.56.t
	desc = kongocrisis.56.d
	picture = GFX_report_event_terraces
	is_triggered_only = yes
	timeout_days = 3
	option = {#
		name = kongocrisis.56.a
		ai_chance = {
			factor = 50
		}
		add_political_power = -5
	}
	option = {#
		name = kongocrisis.56.b
		ai_chance = {
			factor = 0
		}
		add_equipment_to_stockpile = {
			type = infantry_equipment
			amount = -150
		}
	}
}

country_event = {#Leopoldville Requests Military Support - from Yeke revolt chain
	id = kongocrisis.57
	title = kongocrisis.57.t
	desc = kongocrisis.57.d
	picture = GFX_report_event_KIV_tribalwarrior
	is_triggered_only = yes
	timeout_days = 3
	option = {
		name = kongocrisis.57.a
		ai_chance = { factor = 100 }
		add_political_power = 10
	}
	option = {
		name = kongocrisis.57.b
		ai_chance = {
			factor = 0
		}
		country_event = congo.14
	}
}
country_event = {#Intervene in Mittelkongo
	id = kongocrisis.58
	immediate = { log = "[GetDateText]: [Root.GetName]: event kongocrisis.58" }
	title = kongocrisis.58.t
	desc = kongocrisis.58.d
	picture = GFX_report_event_steamship
	is_triggered_only = yes
	timeout_days = 3
	option = {
		name = kongocrisis.58.a
		ai_chance = {
			factor = 10
			modifier = {
				factor = 0.1
				NOT = {
					has_full_control_of_state = capital_scope
				}
			}
		}
			if = {
				limit = {
					tag = MAF
					NOT = {
						has_war_with = KOG
					}
					KOG = {
						is_in_faction = no
						is_subject = no
					}
				}
				MAF = {
					declare_war_on = {
						target = KOG
						type = annex_everything
					}
				}
			}
			if = {
				limit = {
					tag = MAF
					NOT = {
						has_war_with = TKE
					}
					TKE = {
						is_in_faction = no
						is_subject = no
					}
				}
				MAF = {
					declare_war_on = {
						target = TKE
						type = annex_everything
					}
				}
			}
			if = {
				limit = {
					tag = MAF
					NOT = {
						has_war_with = GAB
					}
					GAB = {
						is_in_faction = no
						is_subject = no
					}
				}
				MAF = {
					declare_war_on = {
						target = GAB
						type = annex_everything
					}
				}
			}
		add_political_power = -50
		add_stability = -0.05
	}
	option = {
		name = kongocrisis.58.b
		ai_chance = {
			factor = 90
		}
	}
}
country_event = {#Attack Katanga
	id = kongocrisis.59
	immediate = { log = "[GetDateText]: [Root.GetName]: event kongocrisis.59" }
	title = kongocrisis.59.t
	desc = kongocrisis.59.d
	picture = GFX_report_event_steamship
	is_triggered_only = yes
	timeout_days = 3
	option = {
		name = kongocrisis.59.a
		ai_chance = {
			factor = 90
		}
			if = {
				limit = {
					tag = MAF
					NOT = {
						has_war_with = KTG
					}
					KTG = {
						is_in_faction = no
						is_subject = no
					}
				}
				MAF = {
					declare_war_on = {
						target = KTG
						type = annex_everything
					}
				}
			}
			if = {
				limit = {
					tag = MAF
					NOT = {
						has_war_with = UMN
					}
					UMN = {
						is_in_faction = no
						is_subject = no
					}
				}
				MAF = {
					declare_war_on = {
						target = UMN
						type = annex_everything
					}
				}
			}
	}
	option = {
		name = kongocrisis.59.b
		ai_chance = {
			factor = 10
		}
		add_stability = 0.01
	}
}
country_event = {#Ubangi occupies northern Congo
	id = kongocrisis.60
	immediate = { log = "[GetDateText]: [Root.GetName]: event kongocrisis.60" }
	title = kongocrisis.60.t
	desc = kongocrisis.60.d
	picture = GFX_report_event_march
	is_triggered_only = yes
	timeout_days = 3
	option = {
		name = kongocrisis.60.a
		ai_chance = {
			factor = 30
		}
		add_stability = -0.01
	}
}
country_event = {#Demand CEA evacuates the north
	id = kongocrisis.61
	immediate = { log = "[GetDateText]: [Root.GetName]: event kongocrisis.61" }
	title = kongocrisis.61.t
	desc = kongocrisis.61.d
	picture = GFX_report_event_march
	is_triggered_only = yes
	timeout_days = 3
	option = {
		name = kongocrisis.61.a
		ai_chance = {
			factor = 95
		}
		CEA = {
			country_event = {
				id = kongocrisis.62 
				days = 1 random_days = 2
			}
		}
	}
	option = {
		name = kongocrisis.61.b
		ai_chance = {
			factor = 0
		}
	}
}
country_event = {#COG demands we (CEA) evacuate northern Congo
	id = kongocrisis.62
	immediate = { log = "[GetDateText]: [Root.GetName]: event kongocrisis.62" }
	title = kongocrisis.62.t
	desc = kongocrisis.62.d
	picture = GFX_report_event_march
	is_triggered_only = yes
	timeout_days = 3
	option = {
		name = kongocrisis.62.a
		ai_chance = {
			factor = 100
			modifier = {
				factor = 0.05
				COG = {
					NOT = {
						is_in_faction_with = CEA
					}
				}
			}
		}
		if = {
			limit = {
				CEA = {
					owns_state = 1180
				}
			}
			COG = { transfer_state = 1180 }
			remove_state_claim = 1180
			remove_state_core = 1180
		}
		if = {
			limit = {
				CEA = {
					owns_state = 718
				}
			}
			COG = { transfer_state = 718 }
			remove_state_claim = 718
			remove_state_core = 718
		}
	}
	option = {
		name = kongocrisis.62.b #it's ours now
		ai_chance = {
			factor = 10
		}
		add_war_support = 0.05
		add_stability = -0.1
		add_political_power = -50
		COG = {
			country_event = {
				id = kongocrisis.63
				days = 1 random_days = 2
			}
		}
	}
}
country_event = {#CEA refused us!
	id = kongocrisis.63
	immediate = { log = "[GetDateText]: [Root.GetName]: event kongocrisis.63" }
	title = kongocrisis.63.t
	desc = kongocrisis.63.d
	picture = GFX_report_event_march
	is_triggered_only = yes
	timeout_days = 3
	option = {
		name = kongocrisis.63.a
		trigger = {
			CEA = {
				is_in_faction = no
				is_subject = no
			}
		}
		ai_chance = {
			factor = 85
			modifier = {
				factor = 0.05
				has_war = yes
			}
		}
		COG = {
			declare_war_on = {
				target = CEA
				type = annex_everything
			}
		}
	}
	option = {
		name = kongocrisis.63.b #
		ai_chance = {
			factor = 5
		}
		add_war_support = -0.05
		}
		option = {
			name = kongocrisis.63.c #
			ai_chance = {
				factor = 10
			}
			if = {
				limit = {
					CEA = {
						owns_state = 1180
						}
					}
				COG = { transfer_state = 1180 }
				CEA = { remove_state_claim = 1180 }
				CEA = { remove_state_core = 1180 }
			}
			if = {
				limit = {
					CEA = {
						owns_state = 1180
						}
					}
				COG = { transfer_state = 718 }
				CEA = { remove_state_claim = 718 }
				CEA = { remove_state_core = 718 }
			}
		add_political_power = -150
	}
}
country_event = {#KOG receives event about chaos in Congo and Pedro raises militias
	id = kongocrisis.64
	immediate = { log = "[GetDateText]: [Root.GetName]: event kongocrisis.64" }
	title = kongocrisis.64.t
	desc = kongocrisis.64.d
	picture = GFX_report_event_haase
	is_triggered_only = yes
	timeout_days = 3
	fire_only_once = yes
	
	option = {
		name = kongocrisis.64.a
		hidden_effect = {
			KOG = {
				load_oob = "KOG_AFR"
			}
		}
		add_war_support = 0.05
	}
}

country_event = {#KOG - Teke revolt
	id = kongocrisis.65
	immediate = { log = "[GetDateText]: [Root.GetName]: event kongocrisis.65" }
	title = kongocrisis.65.t
	desc = kongocrisis.65.d
	picture = GFX_report_event_TKE_youlou_crowd
	is_triggered_only = yes
	timeout_days = 3
	fire_only_once = yes

	immediate = {
		hidden_effect = {
		KOG = {
			country_event = {
				id = kongocrisis.38
				days = 2 random_days = 5
				}
			}
		MAF = {
			country_event = {
				id = sharedafrika.111
				days = 1
			}
		}
		GER = {
			country_event = {
				id = sharedafrika.111
				days = 1
			}
		}
		CMR = {
			country_event = {
				id = sharedafrika.111
				days = 1
			}
		}
		COG = {
			country_event = {
				id = sharedafrika.111
				days = 1
			}
		}
		KTG = {
			country_event = {
				id = sharedafrika.111
				days = 1
			}
		}
		CEA = {
			country_event = {
				id = sharedafrika.111
				days = 1
			}
		}
		TKE = {
			transfer_technology = yes
			transfer_state = 953
			load_oob = "TKE_AFR"
			set_war_support = 0.41
				country_event = {
					id = kongocrisis.69
					days = 240
				}
			}
			if = {
				limit = {
					OR = {
						KOG = {
							is_ai = no
						}
						MAF = {
							is_ai = no
						}
					}
				}
				TKE = {
					load_oob = TKE_AFR
				}
			}
		}
	}
	option = {
		name = kongocrisis.65.a
		ai_chance = { factor = 100 }
		add_war_support = 0.03
		add_political_power = 30
	}
	option = {
		name = kongocrisis.65.b
		ai_chance = {
			factor = 0
		}
		TKE = {
			change_tag_from = KOG
		}
	}
}

country_event = {#KOG receives event about emergency powers from Dar
	id = kongocrisis.66
	immediate = { log = "[GetDateText]: [Root.GetName]: event kongocrisis.66" }
	title = kongocrisis.66.t
	desc = kongocrisis.66.d
	picture = GFX_report_event_KOG_manikongo_1
	is_triggered_only = yes
	timeout_days = 3
	fire_only_once = yes

	option = {
		name = kongocrisis.66.a
		add_stability = 0.05
		create_field_marshal = {
			name = "Pedro VII"
			portrait_path = "gfx/leaders/KOG/Portrait_Kongo_Pedro_VII_Afonso.png"
			traits = { politically_connected }
			skill = 1
			attack_skill = 2
			defense_skill = 1
			planning_skill = 2
			logistics_skill = 1
		}
	}
}

country_event = {#KOG view of Pedro's troops retaking the coast
	id = kongocrisis.67
	title = kongocrisis.67.t
	desc = kongocrisis.67.d
	picture = GFX_report_event_askari
	is_triggered_only = yes
	timeout_days = 3
	fire_only_once = yes

	option = {
		name = kongocrisis.67.a
		ai_chance = { factor = 100 }
		add_stability = 0.02
		add_political_power = 20
		hidden_effect = {
			881 = {
				set_demilitarized_zone = no
			}
		}
	}
}

country_event = {#POR hears of Kongo's freedom
	id = kongocrisis.68
	title = kongocrisis.68.t
	desc = kongocrisis.68.d
	picture = GFX_report_event_pedro
	is_triggered_only = yes
	timeout_days = 3
	option = {
		name = kongocrisis.68.a
		ai_chance = { factor = 100 }
		add_war_support = 0.01
	}
}
country_event = {#Failing forces deserting
	id = kongocrisis.69
	title = kongocrisis.69.t
	desc = kongocrisis.69.d
	is_triggered_only = yes
	timeout_days = 3
	hidden = yes
	trigger = {
		is_ai = yes
		has_war = yes
	}
	option = {
		name = kongocrisis.69.a
		ai_chance = { factor = 100 }
		add_ideas = MAF_collapsingarmyidea
		country_event = {
			id = kongocrisis.78 #final collapse
			days = 80 random_days = 20
		}
	}
}
country_event = {#BRD hears of Costermanville
	id = kongocrisis.70
	title = kongocrisis.70.t
	desc = kongocrisis.70.d
	is_triggered_only = yes
	timeout_days = 3
	picture = GFX_report_event_kivu
	
	immediate = {
		hidden_effect = {
		BRD = {
			country_event = {
				id = kongocrisis.71
				days = 2
				}
			}
		MAF = {
			country_event = {
				id = kongocrisis.71
				days = 2
				}
			}
		}
	}
	option = {
		name = kongocrisis.70.a
		ai_chance = { factor = 100 }
		add_stability = -0.04
		add_manpower = 6312
	}
}
country_event = {#Militias Rise up in Ruanda
	id = kongocrisis.71
	title = kongocrisis.71.t
	desc = kongocrisis.71.d
	is_triggered_only = yes
	timeout_days = 3
	picture = GFX_report_event_post
	
	immediate = {
		hidden_effect = {
			if = {
				limit = {
					tag = BRD
					}
				BRD = {
					country_event = {
						id = kongocrisis.72
						days = 2
						}
					}
				MAF = {
					country_event = {
						id = kongocrisis.72
						days = 2
						}
					}
				}
			}
		}
	option = {
		name = kongocrisis.71.a
		ai_chance = { factor = 100 }
			if = {
				limit = {
					tag = BRD
				}
			add_stability = -0.04
			add_manpower = 6312
		}
	}
}
country_event = {#The Nyanza Crisis
	id = kongocrisis.72
	title = kongocrisis.72.t
	desc = kongocrisis.72.d
	is_triggered_only = yes
	timeout_days = 3
	picture = GFX_report_event_ruanda
	
	immediate = {
		hidden_effect = {
			if = {
				limit = {
					tag = BRD
				}
				BRD = {
					country_event = {
						id = kongocrisis.73
						days = 2
					}
				}
			}
		}
	}
	option = {
		name = kongocrisis.72.a
		ai_chance = { factor = 100 }
			if = {
				limit = {
					tag = BRD
					}
				add_war_support = 0.02
				add_stability = -0.02
			}
		}
	}

country_event = {#Battle of Goma
	id = kongocrisis.73
	title = kongocrisis.73.t
	desc = kongocrisis.73.d
	is_triggered_only = yes
	timeout_days = 3
	picture = GFX_report_event_KIV_tribalwarrior
	
	immediate = {
		hidden_effect = {
			if = {
				limit = {
					tag = BRD
					}
				BRD = {
					country_event = {
						id = kongocrisis.75
						days = 3
						}
					}
				MAF = {
					country_event = {
						id = kongocrisis.33
						days = 3 #Rwanda revolt
						}
					}
				}
				country_event = {
					id = kongocrisis.35
					days = 1
				}
			}
		}
	option = {
		name = kongocrisis.73.a
		ai_chance = { factor = 100 }
			if = {
				limit = {
					tag = BRD
					}
				948 = {
					transfer_state_to = BRD #Goma
				}
				BRD = {
					add_state_claim = 918
				}
			add_war_support = 0.02
			add_stability = -0.01
		}
	}
}
country_event = {#Battle of Goma - COG/MAF
	id = kongocrisis.74
	title = kongocrisis.74.t
	desc = kongocrisis.74.d
	is_triggered_only = yes
	timeout_days = 3
	picture = GFX_report_event_KIV_tribalwarrior
	
	option = {
		name = kongocrisis.74.a
		ai_chance = { factor = 100 }
		948 = {
			transfer_state_to = BRD #Goma
		}
		add_stability = -0.01
	}
}
country_event = {#Ruanda revolt
	id = kongocrisis.75
	title = kongocrisis.75.t
	desc = kongocrisis.75.d
	picture = GFX_report_event_musinga
	is_triggered_only = yes
	timeout_days = 3
	immediate = {
		hidden_effect = {
			BRD = {
				country_event = {
					id = kongocrisis.37
					days = 6 random_days = 2
					}
				}
				869 = {
					transfer_state_to = RWA #Ruanda
				}
				948 = {
					transfer_state_to = RWA #Goma
				}
				RWA = {
					load_oob = RWA_AFR
				}
				if = {
					limit = {
						OR = {
							COG = {
								is_ai = no
							}
							MAF = {
								is_ai = no
							}
							BRD = {
								is_ai = no
							}
						}
					}
					RWA = {
						load_oob = RWA_AFR
					}
				}
			}
		}
	option = {
		name = kongocrisis.75.a
		ai_chance = { factor = 100 }
		add_stability = -0.02
		swap_ideas = {
			remove_idea = BRD_great_lake_monarchies
			add_idea = BRD_ruandan_tensions
		}
	}
	option = {
		name = kongocrisis.75.b
		ai_chance = {
			factor = 0
		}
		add_stability = -0.02
		swap_ideas = {
			remove_idea = BRD_great_lake_monarchies
			add_idea = BRD_ruandan_tensions
		}
		hidden_effect = {
			RWA = {
				change_tag_from = BRD
			}
		}
	}
}

country_event = {#Intervene against Ruanda?
	id = kongocrisis.76
	title = kongocrisis.76.t
	desc = kongocrisis.76.d
	picture = GFX_report_event_musinga
	is_triggered_only = yes
	timeout_days = 3
	option = {
		name = kongocrisis.76.a
		ai_chance = {
			factor = 50
		}
		ROOT = {
			declare_war_on = {
				target = RWA
				type = annex_everything
			}
			add_stability = -0.01
		}
	}
	option = {
		name = kongocrisis.76.b
		trigger = {
			NOT = {
				tag = MAF
			}
		}
		ai_chance = {
			factor = 50
		}
	}
}
country_event = {#Burundi intervene against the cliques
	id = kongocrisis.77
	title = kongocrisis.77.t
	desc = kongocrisis.77.d
	picture = GFX_report_event_LIB_native_removal
	is_triggered_only = yes
	timeout_days = 3

	trigger = {
		has_war = no
	}
	option = {#intervene
		name = kongocrisis.77.a
		ai_chance = {
			factor = 10
			modifier = {
				factor = 0.1
				NOT = {
					has_full_control_of_state = capital_scope
				}
			}
		}
		BRD = {
			declare_war_on = {
				target = ORT
				type = annex_everything
			}
			declare_war_on = {
				target = KAS
				type = annex_everything
			}
			declare_war_on = {
				target = UMN
				type = annex_everything
			}
		}
		add_political_power = -50
		add_war_support = -0.01
	}
	option = {
		name = kongocrisis.77.b
		ai_chance = {
			factor = 30
		}
		add_stability = 0.01
	}
}

country_event = {#Hidden collapse event for failing 
	id = kongocrisis.78
	title = kongocrisis.78.t
	desc = kongocrisis.78.d
	is_triggered_only = yes
	hidden = yes
	timeout_days = 3
	trigger = {
		is_ai = yes
		has_war = yes
	}
	option = {#it's over for AI
		name = kongocrisis.77.a
		force_capitulate = yes
	}
}